package com.rc.saas.tenant.mapper.shop;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.shop.ShopOrder;
import com.rc.saas.tenant.model.shop.ShopOrderExample;
import com.rc.saas.tenant.search.shop.ShopOrderSearch;
import com.rc.saas.tenant.search.shop.ShopStockRecordSearch;
import com.rc.saas.tenant.vo.shop.ShopOrderHistoryVo;
import com.rc.saas.tenant.vo.shop.ShopOrderResultVo;
import com.rc.saas.tenant.vo.shop.ShopOrderStatisticsVo;

import java.util.List;

public interface ShopOrderMapper extends BaseMapper<Long, ShopOrder, ShopOrderExample> {
    List<ShopOrderResultVo> listByCondition(ShopOrderSearch shopOrderSearch);

    Long insertReturnId(ShopOrder shopOrder);


    ShopOrderStatisticsVo selectShopOrderStatistics(String tenantCode);

    ShopOrderResultVo selectShopOrderInfo(Long shopOrderId);
}
